export default [
  {
    name: 'userInfo',
    method: 'POST',
    desc: '用户信息',
    url: '/function/userInfo',
    params: {}
  },
  {
    name: 'configOne',
    method: 'POST',
    desc: '配置信息一条',
    url: '/function/configOne',
    params: {
      key: ''
    }
  },
  {
    name: 'checkUsername',
    method: 'POST',
    desc: '检查用户名是否注册',
    url: '/function/checkUsername',
    params: {
      username: ''
    }
  },
  {
    name: 'addAccountTags',
    method: 'POST',
    desc: '注册时候初始化一些配置 图标以后要改的',
    url: '/function/addAccountTags',
    params: {}
  },
  {
    name: 'markOne',
    method: 'POST',
    desc: '获取一条记录',
    url: '/function/markOne',
    params: {
      id: ''
    }
  },
  {
    name: 'markList',
    method: 'POST',
    desc: '获取一条记录',
    url: '/function/markList',
    params: {
      type: ''
    }
  },
  {
    name: 'diaryOneForMy',
    method: 'POST',
    desc: '我的日记列表',
    url: '/function/diaryOneForMy',
    params: {
      id: ''
    }
  },
  {
    name: 'diaryOneForFriend',
    method: 'POST',
    desc: '日记列表朋友',
    url: '/function/diaryOneForFriend',
    params: {
      id: ''
    }
  },
  {
    name: 'diaryPrivilegeUserList',
    method: 'POST',
    desc: '需要授权的所有用户',
    url: '/function/diaryPrivilegeUserList',
    params: {}
  },
  {
    name: 'diaryPrivilegeListMy',
    method: 'POST',
    desc: '我的授权的所有用户',
    url: '/function/diaryPrivilegeListMy',
    params: {}
  },
  {
    name: 'diaryPrivilegeListFriends',
    method: 'POST',
    desc: '单条授权的所有用户',
    url: '/function/diaryPrivilegeListFriends',
    params: {
      referId: ''
    }
  },
  {
    name: 'diaryMyListPage',
    method: 'POST',
    desc: '我的日记列表',
    url: '/function/diaryMyListPage',
    params: {
      index: '',
      size: ''
    }
  },
  {
    name: 'diaryFriendListPage',
    method: 'POST',
    desc: '朋友日记',
    url: '/function/diaryFriendListPage',
    params: {
      index: '',
      size: ''
    }
  },
  {
    name: 'userConfig',
    method: 'POST',
    desc: '获取配置',
    url: '/function/userConfig',
    params: {}
  },
  {
    name: 'itemOne',
    method: 'POST',
    desc: '一条记账记录',
    url: '/function/itemOne',
    params: {
      id: ''
    }
  },
  {
    name: 'tagList',
    method: 'POST',
    desc: '一条记账记录',
    url: '/function/tagList',
    params: {}
  },
  {
    name: 'itemListDate',
    method: 'POST',
    desc: '一条记账记录',
    url: '/function/itemListDate',
    params: {
      sdate: '',
      edate: ''
    }
  },
  {
    name: 'accountIndexSum',
    method: 'POST',
    desc: '所有记录汇总',
    url: '/function/accountIndexSum',
    params: {}
  },
  {
    name: 'accountListPage',
    method: 'POST',
    desc: '所有记录分页',
    url: '/function/accountListPage',
    params: {
      index: '',
      size: ''
    }
  },
  {
    name: 'tagOne',
    method: 'POST',
    desc: '一条标签记录',
    url: '/function/tagOne',
    params: {
      id: ''
    }
  },
  {
    name: 'colorList',
    method: 'POST',
    desc: '颜色列表',
    url: '/function/colorList',
    params: {}
  },
  {
    name: 'iconList',
    method: 'POST',
    desc: '图标列表',
    url: '/function/iconList',
    params: {}
  },
  {
    name: 'itemDateTypePie',
    method: 'POST',
    desc: '饼图数据',
    url: '/function/itemDateTypePie',
    params: {
      type: '',
      sdate: '',
      edate: ''
    }
  },
  {
    name: 'itemDateTypeBar',
    method: 'POST',
    desc: '柱状图数据',
    url: '/function/itemDateTypeBar',
    params: {
      type: '',
      sdate: '',
      edate: ''
    }
  },
  {
    name: 'itemDateTypeSum',
    method: 'POST',
    desc: '类目统计',
    url: '/function/itemDateTypeSum',
    params: {
      sdate: '',
      edate: ''
    }
  },
  {
    name: 'accountSumSdateEdate',
    method: 'POST',
    desc: '统计时间总和',
    url: '/function/accountSumSdateEdate',
    params: {
      sdate: '',
      edate: ''
    }
  },
  {
    name: 'accountQueryListPage',
    method: 'POST',
    desc: '统计时间总和',
    url: '/function/accountQueryListPage',
    params: {
      sdate: '',
      edate: '',
      minMoney: '',
      maxMoney: '',
      type: '',
      title:'',
      index: '',
      size: '' 
    }
  }
]
